﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentValidation;
using STLGROUP.Layers.Common;

namespace STLGROUP.Layers.DataAccessLayers.Validators
{
    public class ACL_NhomNguoiDungValidator : AbstractValidator<ACL_NhomNguoiDung>
    {
        public ACL_NhomNguoiDungValidator()
        {
            RuleFor(s=>s.TenNhom).NotEmpty().WithMessage(Const.VALD_PROPERTY_KHONG_BO_TRONG).WithPropertyName("Tên nhóm"); 
        }
    }
}
